package com.design.marketPrj.application.controller.user;

import com.design.marketPrj.application.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserPayController extends BaseController {

    @RequestMapping("/userPay")
    public String payPage(Model model){
        model.addAttribute("user",getUser());
        return "user/userPay";
    }

    @RequestMapping("/userTransfer")
    public String transferPage(Model model){
        model.addAttribute("user",getUser());
        return "user/userTransfer";
    }

}
